package com.ysqcould.message.service;

import java.util.List;
import com.ysqcould.message.domain.MemberAlbum;
import com.ysqcould.message.domain.bo.MemberAlbumBo;

/**
 * 会员相册Service接口
 * 
 * @author ruoyi
 * @date 2022-06-30
 */
public interface IMemberAlbumService 
{
    /**
     * 查询会员相册
     * 
     * @param id 会员相册主键
     * @return 会员相册
     */
    public MemberAlbum selectMemberAlbumById(Long id);

    /**
     * 查询会员相册列表
     * 
     * @param memberAlbum 会员相册
     * @return 会员相册集合
     */
    public List<MemberAlbum> selectMemberAlbumList(MemberAlbum memberAlbum);

    /**
     * 新增会员相册
     * 
     * @param memberAlbum 会员相册
     * @return 结果
     */
    public int insertMemberAlbum(MemberAlbum memberAlbum);

    /**
     * 修改会员相册
     * 
     * @param memberAlbum 会员相册
     * @return 结果
     */
    public int updateMemberAlbum(MemberAlbum memberAlbum);

    /**
     * 批量删除会员相册
     * 
     * @param ids 需要删除的会员相册主键集合
     * @return 结果
     */
    public int deleteMemberAlbumByIds(Long[] ids);

    /**
     * 删除会员相册信息
     * 
     * @param id 会员相册主键
     * @return 结果
     */
    public int deleteMemberAlbumById(Long id);

    /**
     * 删除单张相片
     * @param bo
     * @return
     */
    int delImage(MemberAlbumBo bo);
}
